#ifndef symTrace_h__
#define symTrace_h__

#include "../inc/skyAdapter.h"

#ifdef _SYMBIAN
#include <e32debug.h>
#if defined(_XTRACE)
	#define __xTraceW									RDebug::Printf
	#define __xTraceMsgW(traceType,traceLevel,msg)		((TWchar*)L("")##traceLevel##""__XLEVEL__""##msg##""__XLINE__""__XFUNC__""__XFILE__"\r\n"),Sky::TraceLevel::traceLevel
	
	#define __xTraceHrW									xTraceHrW
	#define __xTraceMsgHrW(traceType,traceLevel,hr,msg)	((TWchar*)L("")##traceLevel##""__XLEVEL__""__XHR__","##msg##""__XLINE__""__XFUNC__""__XFILE__"\r\n"),Sky::TraceLevel::traceLevel,hr
	
	#define __xTraceA									RDebug::Printf
#define __xTraceMsgA(traceType,traceLevel,msg)		((TAchar*)""#traceLevel##""__XLEVEL__","##msg##""__XLINE__""__XFUNC__""__XFILE__"\r\n"),Sky::TraceLevel::traceLevel
	
	#define __xTraceHrA									xTraceHrA
	#define __xTraceMsgHrA(traceType,traceLevel,hr,msg)	((TAchar*)""#traceLevel##""__XLEVEL__""__XHR__","##msg##""__XLINE__""__XFUNC__""__XFILE__"\r\n"),Sky::TraceLevel::traceLevel,hr
#endif

#endif
#endif
